import request from '@/utils/request'

// 查询案卷导入预览列表
export function listVolumePreview(query) {
  return request({
    url: '/system/volumePreview/list',
    method: 'get',
    params: query
  })
}

// 查询案卷导入预览详细
export function getVolumePreview(id) {
  return request({
    url: '/system/volumePreview/' + id,
    method: 'get'
  })
}

// 新增案卷导入预览
export function addVolumePreview(data) {
  return request({
    url: '/system/volumePreview',
    method: 'post',
    data: data
  })
}

// 修改案卷导入预览
export function updateVolumePreview(data) {
  return request({
    url: '/system/volumePreview',
    method: 'put',
    data: data
  })
}

// 删除案卷导入预览
export function delVolumePreview(id) {
  return request({
    url: '/system/volumePreview/' + id,
    method: 'delete'
  })
}
